<?php 
namespace app\model;
use think\Model;

class Report extends Model
{	
	public static function getCommonIsCn($key){
		$list = [1=>'是',0=>'否'];
		return $list[$key];
	}

	public static function getCommonIsList(){
		$list = [1=>'是',0=>'否'];
		return $list;
	}

	public static function getStatusCn($key){
        $list = ['待生成','待推送',10=>'已推送'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = ['待生成','待推送',10=>'已推送'];
        return $list;
    }
    public static function getStatusColor(){
        $list = ['default','warning','success'];
        return $list;
    }

    public static function getTypeCn($key){
        $list = ['每日报告','每周报告','10'=>'自定义'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['每日报告','每周报告','10'=>'自定义'];
        return $list;
    }

    



	
}


 ?>